package codej.ast;

import java.util.*;

public class Annotations extends AbstractNode {
	
	private final List<Annotation> annotations;

	public Annotations(List<Annotation> annotations) {
		this.annotations = annotations;
	}
	
	public List<Annotation> getAnnotations() {
		return annotations;
	}

	public void accept(Visitor visitor) {
		visitor.visit(this);
	}
}
